package com.guoning.office_system.mapper;

import com.guoning.office_system.model.SignIn;
import com.guoning.office_system.model.SignInWithBLOBs;
import com.guoning.office_system.vo.Criteria;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("SignInMapper")
public interface SignInMapper {
    List<SignInWithBLOBs> selectRecordByUser(Criteria criteria);

    int deleteByPrimaryKey(Long id);

    int insert(SignInWithBLOBs record);

    int insertSelective(SignInWithBLOBs record);

    SignInWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SignInWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SignInWithBLOBs record);

    int updateByPrimaryKey(SignIn record);
}